package org.s3.project.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

  private long id;
  private String name;
  private String username;
  private String password;
  private String phone;
  private String sex;
  private String id_number;
  private long status;
  private java.sql.Timestamp create_time;
  private java.sql.Timestamp  update_time;
  private long create_user;
  private long update_user;
  private String avatar;

  // 新增的属性
  private String create_user_name;
  private String update_user_name;
  private String banned_reason;
}
